package com.woniu108.extra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 驾照信息表
 * </p>
 *
 * @author yanxi
 * @since 2024-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CarDelivery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 驾照编号
     */
    @TableId(value = "delivery_id", type = IdType.AUTO)
    private Integer deliveryId;

    /**
     * 驾照图片
     */
    private String deliveryPic;

    /**
     * 驾照等级
     */
    private Integer level;

    /**
     * 驾照有效起始时间
     */
    private LocalDateTime deliveryStartTime;

    /**
     * 驾照有效结束时间
     */
    private LocalDateTime deliveryEndTime;

    /**
     * 用户编号
     */
    private Integer userId;


}
